<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html dir="{#PLIGG_Visual_Language_Direction#}" xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
	{checkActionsTpl location="tpl_pligg_admin_head_start"}
	<link rel="stylesheet" type="text/css" href="{$my_pligg_base}/templates/admin/css/fraxi.css" media="screen">
	{checkForCss}
	
	<meta name="Language" content="en-us">
	<meta name="Robots" content="none">
	<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />	
	
	<title>{#PLIGG_Visual_Name#} Admin Panel</title>
	<link rel="icon" href="{$my_pligg_base}/favicon.ico" type="image/x-icon"/>	
	
	<!--[if lte IE 6]><link rel="stylesheet" href="{$my_pligg_base}/templates/admin/css/ie6.css" type="text/css" media="all" /><![endif]-->
	
	{if $pagename eq "admin_links" || $pagename eq "admin_users" || $pagename eq "admin_comments" || $pagename eq "admin_page" || $pagename eq "admin_group"}
		<script type='text/javascript' src='{$my_pligg_base}/templates/admin/js/zebrastripe.js'></script>
	{/if}
	
	{if $pagename eq "admin_categories" || $modulename eq "admin_language" || $modulename eq "rss_import" || $pagename eq "admin_config"}
		<script type='text/javascript' src='{$my_pligg_base}/templates/admin/js/simpleedit.js'></script>
		<script type='text/javascript' src='{$my_pligg_base}/templates/admin/js/move.js'></script>
		<script type='text/javascript' src='{$my_pligg_base}/templates/admin/js/accordian.pack.js'></script>
	{/if}

	{checkActionsTpl location="tpl_pligg_admin_head_end"}
</head>
<body dir="{#PLIGG_Visual_Language_Direction#}">
{checkActionsTpl location="tpl_pligg_admin_body_start"}
<div class="logo"><a href="{$my_pligg_base}/index.php"><img src="{$my_pligg_base}/templates/admin/images/logo.gif" alt="Pligg CMS" title="Pligg CMS"/></a></div>

<div id="body-wrap">
	<div id="header">
		<div id="head-nav">
			<ul class="nav-menu">
				<li><a href="{$my_pligg_base}/admin/admin_index.php" {if $pagename eq "admin_index"}class="navcur"{else}class="nav"{/if}>{#PLIGG_Visual_AdminPanel#}</a></li>
				<li><a href="{$my_pligg_base}/admin/admin_links.php" {if $pagename eq "admin_categories" || $pagename eq "admin_comments" || $pagename eq "admin_links" || $pagename eq "admin_users" || $pagename eq "admin_user_validate" || $pagename eq "admin_page"}class="navcur"{else}class="nav"{/if} >{#PLIGG_Visual_AdminPanel_Manage_Nav#}</a></li> 
				<li><a href="{$my_pligg_base}/admin/admin_config.php" {if $pagename eq "admin_config"}class="navcur"{else}class="nav"{/if} >{#PLIGG_Visual_AdminPanel_Configure#}</a></li>
				<li><a href="{$my_pligg_base}/admin/admin_backup.php" {if $pagename eq "admin_backup"}class="navcur"{else}class="nav"{/if} >{#PLIGG_Visual_AdminPanel_Backup_Nav#}</a></li>
				<li><a href="{$my_pligg_base}/admin/admin_modules.php" {if $pagename eq "admin_modules"}class="navcur"{else}class="nav"{/if} >{#PLIGG_Visual_AdminPanel_Modules_Nav#}</a></li>
				<li><a href="{$my_pligg_base}/admin/admin_editor.php" {if $pagename eq "admin_editor"}class="navcur"{else}class="nav"{/if} >{#PLIGG_Visual_AdminPanel_Template_Nav#}</a></li>
				{checkActionsTpl location="tpl_header_admin_links"}
				<li><a href="{$my_pligg_base}/index.php" class="nav">{#PLIGG_Visual_Home#}</a></li>
			</ul>
			<div id="navbar">
				  <a href="{$my_pligg_base}/index.php">{#PLIGG_Visual_Home#}</a> &rsaquo; <a href="{$my_pligg_base}/admin/admin_index.php">{#PLIGG_Visual_AdminPanel#}</a> &rsaquo; 
				  {if $pagename eq "admin_backup"}{#PLIGG_Visual_AdminPanel_Backup#}{/if}
				  {if $module eq "captcha"}{#PLIGG_Visual_AdminPanel_Captcha#}{/if}
				  {if $pagename eq "admin_categories" || $pagename eq "admin_categories_tasks"}{#PLIGG_Visual_AdminPanel_Categories#}{/if}
				  {if $pagename eq "admin_comments"}{#PLIGG_Visual_AdminPanel_Comments#}{/if}
				  {if $pagename eq "admin_config"}{#PLIGG_Visual_AdminPanel_Configure#}{/if}
				  {if $pagename eq "admin_index"}{#PLIGG_Visual_AdminPanel_Home#}{/if}
				  {if $module eq "admin_language"}{#PLIGG_Visual_AdminPanel_Language#}{/if}
				  {if $pagename eq "admin_modules"}{#PLIGG_Visual_AdminPanel_Modules_Nav#}{/if}
				  {if $pagename eq "admin_page"}{#PLIGG_Visual_AdminPanel_Pages#}{/if}
				  {if $pagename eq "admin_links"}{#PLIGG_Visual_AdminPanel_News#}{/if}
				  {if $pagename eq "admin_editor"}{#PLIGG_Visual_AdminPanel_Template_Nav#}{/if}
				  {if $pagename eq "admin_users"}{#PLIGG_Visual_AdminPanel_Users#}{/if}
				  {if $pagename eq "admin_group"}{#PLIGG_Visual_AdminPanel_Groups#}{/if}
				  {checkActionsTpl location="tpl_pligg_admin_breadcrumbs"}
			</div>
		</div>
	</div>
	<div style="clear:both;"></div>
	<div id="body-contents">
	
		{if $pagename eq "admin_links" || $pagename eq "admin_users" || $pagename eq "admin_comments" || $pagename eq "admin_categories" || $pagename eq "admin_categories_tasks" || $pagename eq "admin_page" || $pagename eq "edit_page" || $pagename eq "submit_page" || $pagename eq "admin_group"}
		<div class="tab-nav-spacing"><div class="tab-nav">
		  <ul>
			{checkActionsTpl location="tpl_pligg_admin_navtabs_start"}
			<li {if $pagename eq "admin_links"}class="cur"{/if}><span><a href="{$my_pligg_base}/admin/admin_links.php">{#PLIGG_Visual_AdminPanel_News#}</a></span></li>
			<li {if $pagename eq "admin_users"}class="cur"{/if}><span><a href="{$my_pligg_base}/admin/admin_users.php">{#PLIGG_Visual_AdminPanel_Users#}</a></span></li>
			<li {if $pagename eq "admin_comments"}class="cur"{/if}><span><a href="{$my_pligg_base}/admin/admin_comments.php">{#PLIGG_Visual_AdminPanel_Comments#}</a></span></li>
			<li {if $pagename eq "admin_categories" || $pagename eq "admin_categories_tasks"}class="cur"{/if}><span><a href="{$my_pligg_base}/admin/admin_categories.php">{#PLIGG_Visual_AdminPanel_Categories#}</a></span></li>
			<li {if $pagename eq "admin_page" || $pagename eq "edit_page" || $pagename eq "submit_page"}class="cur"{/if}><span><a href="{$my_pligg_base}/admin/admin_page.php">{#PLIGG_Visual_AdminPanel_Pages#}</a></span></li>
			<li {if $pagename eq "admin_group"}class="cur"{/if}><span><a href="{$my_pligg_base}/admin/admin_group.php">{#PLIGG_Visual_AdminPanel_Groups#}</a></span></li>
			{checkActionsTpl location="tpl_pligg_admin_navtabs_end"}
		  </ul>
		</div></div>
		{/if}
		
		<div style="clear:both";"></div>		
		<div class="bluerndcontent">
			{checkActionsTpl location="tpl_pligg_admin_legend_before"}
			{include file=$tpl_center.".tpl"}
			{* Start Pagination *}
				{if $pagename eq "admin_users" || $pagename eq "admin_comments" || $pagename eq "admin_links" || $pagename eq "admin_user_validate"}	
					<fieldset>
					<br />
					{php} 
					Global $db, $main_smarty, $rows, $offset, $URLMethod;
					$oldURLMethod=$URLMethod;
					$URLMethod=1;
					$pagesize=get_misc_data('pagesize');
					do_pages($rows, $pagesize ? $pagesize : 30, $the_page); 
					$URLMethod=$oldURLMethod;
					{/php}
					</fieldset>
				{/if} 
			{* End Pagination *}
			{checkActionsTpl location="tpl_pligg_admin_legend_after"}
		</div>
		


	</div>
</div>

{checkActionsTpl location="tpl_pligg_admin_body_end"}
</body>
</html>
